# bool型
b1 = True
b2 = False
print(b1, b2)
print(type(b1))
print(type(b2))
# 逻辑运算符使用所示
print(True and False)
print(True and False)
print(True or False)
print(not False)
# 成员运算符使用所示
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)
print('o' not in str1)
